import { Type } from '@angular/core';
import { Platform } from './env';

export const provideComponents = (...mutilPlatformComponents: Type<any>[]): Type<any>[] => {
    const rs = mutilPlatformComponents.filter(c => {
        return c.name.toUpperCase().indexOf(Platform.toUpperCase()) !== -1;
    });
    return rs;
};


